Marissa Leatherman
12/11/2019
Data from NOAA Alaskan Trawls will be merged and organized to maximize data from all parts of the Bering Sea.
Data will be filtered and chosen, then analyzed for graphical use
Visualizations will be made that display the distribution of the two species by location, water temperature and depth.
tidyverse, using ggplot2, tidyr, and dplyr to organize data
rnaturalearth, rnaturalearthdata for world map data
ggmap, maps and mapdata for map data as well
rgeos and sf for error-fixing/ map holes
trawl <-
trawlall %>%
separate('GENUS_SPECIES', c('GENUS','SPECIES'),'_', extra='drop') %>%
separate('DATETIME', c('DATE','TIME'),'_', extra='drop') %>%
select('LATITUDE','LONGITUDE','DATE','TIME','GENUS','SPECIES','BOT_DEPTH','BOT_TEMP', 'SURF_TEMP')
Pagurus <-
trawl %>%
filter(GENUS=='Pagurus')
Gadus <-
trawl %>%
filter(GENUS=='Gadus')
trawl <- rbind(Gadus, Pagurus)